// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SALES_APPROVED_FEE
// * CreateDate    : 2011/11/21 10:37:36
// * Creater       : CodeSmith
// * LastChangeDate: 2011/11/21 10:37:36
// * LastChanger   : 2011/11/21 10:37:36
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SalesApprovedFeeTable : TableInfo
    {
		public const string C_TableName = "SALES_APPROVED_FEE";
		
		public const string C_FEE_ID = "FEE_ID";
		public const string C_SALES_FEE_ID = "SALES_FEE_ID";
		public const string C_PERSON_ID = "PERSON_ID";
		public const string C_CUSTOMER_ID = "CUSTOMER_ID";
		public const string C_START_DATE = "START_DATE";
		public const string C_END_DATE = "END_DATE";
		public const string C_APPROVED_AMOUNT = "APPROVED_AMOUNT";
		
		public SalesApprovedFeeTable()
        {
            _tableName = "SALES_APPROVED_FEE";
        }
		
		protected static SalesApprovedFeeTable _current;
        public static SalesApprovedFeeTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SalesApprovedFeeTable();

            _current.Add(C_FEE_ID, new ColumnInfo(C_FEE_ID,"FeeId", true, typeof(string)));
            _current.Add(C_SALES_FEE_ID, new ColumnInfo(C_SALES_FEE_ID,"SalesFeeId", false, typeof(string)));
            _current.Add(C_PERSON_ID, new ColumnInfo(C_PERSON_ID,"PersonId", false, typeof(string)));
            _current.Add(C_CUSTOMER_ID, new ColumnInfo(C_CUSTOMER_ID,"CustomerId", false, typeof(string)));
            _current.Add(C_START_DATE, new ColumnInfo(C_START_DATE,"StartDate", false, typeof(DateTime)));
            _current.Add(C_END_DATE, new ColumnInfo(C_END_DATE,"EndDate", false, typeof(DateTime)));
            _current.Add(C_APPROVED_AMOUNT, new ColumnInfo(C_APPROVED_AMOUNT,"ApprovedAmount", false, typeof(decimal)));
			
		}
		
		public ColumnInfo FEE_ID
        {
            get { return this[C_FEE_ID]; }
        }
		
		public ColumnInfo SALES_FEE_ID
        {
            get { return this[C_SALES_FEE_ID]; }
        }
		
		public ColumnInfo PERSON_ID
        {
            get { return this[C_PERSON_ID]; }
        }
		
		public ColumnInfo CUSTOMER_ID
        {
            get { return this[C_CUSTOMER_ID]; }
        }
		
		public ColumnInfo START_DATE
        {
            get { return this[C_START_DATE]; }
        }
		
		public ColumnInfo END_DATE
        {
            get { return this[C_END_DATE]; }
        }
		
		public ColumnInfo APPROVED_AMOUNT
        {
            get { return this[C_APPROVED_AMOUNT]; }
        }
		
		
		
	}
}

